let userAgent = navigator.userAgent //取得浏览器的userAgent字符串
let isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1
if(isIE) {
  let reIE = new RegExp("MSIE (\\d+\\.\\d+);")
  reIE.test(userAgent)
  let fIEVersion = parseFloat(RegExp["$1"])
  if(fIEVersion < 11) {
    if (!/browserUpgrade/.test(window.location.href)){
      window.location = "/ecp-web/browserUpgrade"
    }
  }
}
